package com.project.communitymanagement.service.impl;

import com.project.communitymanagement.common.BaseServiceImpl;
import com.project.communitymanagement.common.Page;
import com.project.communitymanagement.entity.TbMessage;
import com.project.communitymanagement.mapper.TbMessageMapper;
import com.project.communitymanagement.service.TbMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;

/**
 * @ProjectName: community-management
 * @Package: com.project.communitymanagement.service.impl
 * @ClassName: TbMessageServiceImpl
 * @Author: "XGP"
 * @Description:
 * @Date: 2022/3/13 12:59
 * @Version: 1.0
 */
@Service
public class TbMessageServiceImpl  extends BaseServiceImpl<TbMessageMapper, TbMessage> implements TbMessageService {

    @Autowired
    private TbMessageMapper tbmessageMapper;

    @Override
    protected TbMessageMapper mapper() {
        return tbmessageMapper;
    }

    @Override
    protected TbMessage defaultModel() {
        return new TbMessage();
    }
}
